package com.ai.manager.edu.confcent;

import java.util.List;

import com.ai.model.edu.user.ThirdPartyCaller;
import com.ai.model.edu.user.dto.ThirdPartyCallerDTO;
import com.ai.model.edu.user.vo.ThirdPartyCallerVO;

/**
 * @ClassName: ThirdPartyCallerMapper
* @Description: third_party_caller表对应的Mapper映射类
* @author: daizy@icloudedu.net
 */
public interface ThirdPartyCallerManager {


    /**
    * @Title ThirdPartyCallerMapper.deleteByPrimaryKey
    * @Description: 根据属性名称，删除third_party_caller
    * @param id id
    * @return int  删除个数
     */
    void delThirdPartyCallerByID(Long id);

    /**
    * @Title ThirdPartyCallerMapper.insert
    * @Description: 插入一个third_party_caller
    * @param record third_party_caller的bean对象
    * @return int  插入个数
     */
    void insert(ThirdPartyCaller record);


    /**
    * @Title ThirdPartyCallerMapper.selectByPrimaryKey
    * @Description: 根据主键类，返回third_party_caller
    * @param id id
    * @return ThirdPartyCaller bean对象
     */
    ThirdPartyCallerVO selectByPrimaryKey(Long id);


    /**
    * @Title ThirdPartyCallerMapper.updateByPrimaryKeySelective
    * @Description: 根据主键更新third_party_caller部分字段
    * @param record 要更新成为的ThirdPartyCaller对象
    * @return int 更新记录数
     */
    void updateByPrimaryKeySelective(ThirdPartyCallerDTO record);
    
    /**
     * 分页查询
     * @param dto
     * @return
     */
    List<ThirdPartyCallerVO> findThirdPartyCallerByDto(ThirdPartyCallerDTO dto);
    
    /**
     * 查询数目
     * @param dto
     * @return
     */
    Long countThirdPartyCallerByDto(ThirdPartyCallerDTO dto);

}